package cn.plushine.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.HashMap;
import java.util.List;

/**
 * 仓库信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(description = "仓库信息")
public class Warehouse {
    @ApiModelProperty(value = "仓库id")
    private int id;
    @ApiModelProperty(value = "仓库名称")
    private String name;
    @ApiModelProperty(value = "仓库地址（省）")
    private String a1;
    @ApiModelProperty(value = "仓库地址（市）")
    private String a2;
    @ApiModelProperty(value = "仓库地址（县）")
    private String a3;
    @ApiModelProperty(value = "仓库地址（详细）")
    private String a4;
    @ApiModelProperty(value = "采购员列表")
    private List<User> buyer;
    @ApiModelProperty(value = "销售员列表")
    private List<User> salesperson;
    @ApiModelProperty(value = "仓库保管员列表")
    private List<User> keeper;
    @ApiModelProperty(value = "仓库状态")
    private Boolean flag;
    @ApiModelProperty(value = "联系人")
    private String contact;
    @ApiModelProperty(value = "性别")
    private Boolean sex;
    @ApiModelProperty(value = "电话")
    private String telephone;
    @ApiModelProperty(value = "图像列表")
    private List<HashMap> image;
    @ApiModelProperty(value = "备注")
    private String others;

}
